/**
 * 右侧导航
 */
define(function (require, exports, module) {
    var $ = require("jquery");
    var NavManager = require('plugins/navManager.js');

    return {
        init: function () {
            new NavManager($('#nav'), [
                {
                    "id": "menu_project",
                    "code": "00002001",
                    "name": "首页",
                    "level": 1,
                    "iconCls": "icon-project",
                    "url": ["/page/home/home.shtml"],
                    "children": null
                },
                {
                    "id": "user_management",
                    "code": "/page/home/home.shtml",
                    "name": "认筹理财",
                    "level": 1,
                    "iconCls": "icon-finance",
                    "url": "",
                    "children": [
                        {
                            "id": "role_authorization",
                            "code": "0000210201",
                            "name": "认筹活动管理",
                            "level": 2,
                            "url": ["/page/raise_finance/activities.shtml"]
                        },
                        {
                            "id": "org_management",
                            "code": "0000210202",
                            "name": "认筹订单管理",
                            "level": 2,
                            "url": ["/page/raise_finance/orders.shtml"]
                        },
                        {
                            "id": "org_management",
                            "code": "0000210202",
                            "name": "楼盘参数管理",
                            "level": 2,
                            "url": ["/page/raise_finance/banners.shtml"]
                        }
                    ]
                }
            ])
        }
    }
});
